"""
This module contains MyClassB and a simple function to demonstrate Sphinx documentation.

"""


class MyClassB:
    """
    MyClassB demonstrates a class with different attributes and methods.

    Attributes:
        name (str): Name of the instance.
        value (float): Value of the instance.
    """

    def __init__(self, name, value):
        """
        Initialize MyClassB with name and value.

        Args:
            name (str): Name of the instance.
            value (float): Value of the instance.
        """
        self.name = name
        self.value = value

    def method_b(self, multiplier):
        """
        Multiplies value by a given multiplier.

        Args:
            multiplier (float): The multiplier.

        Returns:
            float: Result of the multiplication.
        """
        return self.value * multiplier


def utility_function_b(data):
    """
    A simple function that processes data.

    Args:
        data (dict): A dictionary of data.

    Returns:
        str: A message indicating data was processed.
    """
    return f"Utility function B processed data: {data}"
